<cfset fullpath = "#request.basepath#images/#url.Dir#/#url.FolderName#">
<cfset fullpath = replacenocase(fullpath, "//", "/", "ALL")>
<cfdirectory action="delete" directory="#fullpath#" recurse="yes">
<cflocation url="index.cfm?c=imagelibrary&showfolders=1">